<?php
session_start();
$user=$_SESSION['username'];
$type_room=$_REQUEST['type_room'];
$date=$_REQUEST['date'];
$start_time=$_REQUEST['start_time'];
$end_time=$_REQUEST['end_time'];
$page=$_REQUEST['page'];
$per_page=$_REQUEST['per_page'];
$per_page=5;
include_once '../../../Model/Room.php';
$room= new Room();
$rs=$room->get_list_room_for_user($type_room,$date,$start_time,$end_time,2,$page,$per_page);
echo $rs;
?>